<script setup lang="ts">
import ChannelNav from './components/ChannelNav.vue';
import ArticleList from './components/ArticleList.vue'
import { ref } from 'vue';
import { defineStore } from 'pinia';

// // 默认频道， id:0 推荐
// const channelId = ref(0)

// const updateChannelId = (id: number) => {
//   channelId.value = id
// }
</script>

<template>
  <ChannelNav/>
  <ArticleList/>
  <!-- 路由视口 -->
  <RouterView/>
</template>